cmake_minimum_required(VERSION 3.16)

project(project_name)
#set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/$<CONFIGURATION>")
set(CMAKE_CXX_STANDARD 20)

add_compile_options()
include_directories(include)
include_directories(include/DataStuctureH)
include_directories(include/GraphicSystem/)
include_directories(include/GraphicSystem/Actors)
include_directories(include/GraphicSystem/Components)
include_directories(include/EventSystem)

aux_source_directory(./src CPP_FILES)
aux_source_directory(./src/DataStucture DATA_STUCTURE)
aux_source_directory(./src/Actors ACTORS)
aux_source_directory(./src/Components COMPONENTS)
aux_source_directory(./src/event EVENT)

# add_subdirectory(vendored/SDL EXCLUDE_FROM_ALL)

set(SOURCE_FILES ${CPP_FILES} ${DATA_STUCTURE} ${ACTORS} ${COMPONENTS} ${EVENT})

add_executable(
    main ${SOURCE_FILES}
    #WIN32 
)

# target_link_libraries(hello PRIVATE SDL3::SDL3)